﻿<?xml version="1.0" encoding="utf-8" ?>
<DbDataRequest connection="$SqlServer$" type="$DbType$" defaultFormatter="bizobj User">
  <SqlStatement hasResults="true">
    SELECT
      id,
      userName,
      password,
      firstName,
      lastName,
      companyId,
      email
    FROM Users
    WHERE
      id=@id
    AND
      CompanyId=@companyId
  </SqlStatement>
  <Param name="id" type="UniqueIdentifier"/>
  <Param name="companyId" type="UniqueIdentifier"/>
  
</DbDataRequest>